﻿using D3StatsClient.Model;
using D3StatsClient.ViewModel;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows;

namespace D3StatsClient.Commands
{
    public class ChangeTheme : CommandBase
    {
        public override bool CanExecute(object parameter)
        {
            return true;
            
        }

        public override void Execute(object parameter)
        {
            Elysium.Theme selectedTheme = (Elysium.Theme)parameter;
            Elysium.Manager.Apply(Application.Current, selectedTheme);
            
        }
    }
}
